package com.ywjt.platformbusiness.home.model;

import java.util.List;

public class AvilibleCouponModel {


    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        private List<RecordsDTO> records;
        private Integer total;
        private Integer size;
        private Integer current;
        private List<?> orders;
        private Boolean optimizeCountSql;
        private Boolean hitCount;
        private Object countId;
        private Object maxLimit;
        private Boolean searchCount;
        private Integer pages;

        public List<RecordsDTO> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsDTO> records) {
            this.records = records;
        }

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public Integer getCurrent() {
            return current;
        }

        public void setCurrent(Integer current) {
            this.current = current;
        }

        public List<?> getOrders() {
            return orders;
        }

        public void setOrders(List<?> orders) {
            this.orders = orders;
        }

        public Boolean getOptimizeCountSql() {
            return optimizeCountSql;
        }

        public void setOptimizeCountSql(Boolean optimizeCountSql) {
            this.optimizeCountSql = optimizeCountSql;
        }

        public Boolean getHitCount() {
            return hitCount;
        }

        public void setHitCount(Boolean hitCount) {
            this.hitCount = hitCount;
        }

        public Object getCountId() {
            return countId;
        }

        public void setCountId(Object countId) {
            this.countId = countId;
        }

        public Object getMaxLimit() {
            return maxLimit;
        }

        public void setMaxLimit(Object maxLimit) {
            this.maxLimit = maxLimit;
        }

        public Boolean getSearchCount() {
            return searchCount;
        }

        public void setSearchCount(Boolean searchCount) {
            this.searchCount = searchCount;
        }

        public Integer getPages() {
            return pages;
        }

        public void setPages(Integer pages) {
            this.pages = pages;
        }

        public static class RecordsDTO {
            private Object role;
            private Integer discountAmount;
            private String type_dictText;
            private Object commodityId_dictText;
            private String updateTime;
            private String remark;
            private Integer isReceive;
            private Object commodityId;
            private String type;
            private Object userId;
            private Object content;
            private Integer reachAmount;
            private String createBy;
            private Object classId;
            private String createTime;
            private String updateBy;
            private String name;
            private Object classId_dictText;
            private String startTime;
            private String id;
            private String endTime;
            private String validity;
            private Object role_dictText;
            private Object userId_dictText;

            public Object getRole() {
                return role;
            }

            public void setRole(Object role) {
                this.role = role;
            }

            public Integer getDiscountAmount() {
                return discountAmount;
            }

            public void setDiscountAmount(Integer discountAmount) {
                this.discountAmount = discountAmount;
            }

            public String getType_dictText() {
                return type_dictText;
            }

            public void setType_dictText(String type_dictText) {
                this.type_dictText = type_dictText;
            }

            public Object getCommodityId_dictText() {
                return commodityId_dictText;
            }

            public void setCommodityId_dictText(Object commodityId_dictText) {
                this.commodityId_dictText = commodityId_dictText;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public Integer getIsReceive() {
                return isReceive;
            }

            public void setIsReceive(Integer isReceive) {
                this.isReceive = isReceive;
            }

            public Object getCommodityId() {
                return commodityId;
            }

            public void setCommodityId(Object commodityId) {
                this.commodityId = commodityId;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public Object getUserId() {
                return userId;
            }

            public void setUserId(Object userId) {
                this.userId = userId;
            }

            public Object getContent() {
                return content;
            }

            public void setContent(Object content) {
                this.content = content;
            }

            public Integer getReachAmount() {
                return reachAmount;
            }

            public void setReachAmount(Integer reachAmount) {
                this.reachAmount = reachAmount;
            }

            public String getCreateBy() {
                return createBy;
            }

            public void setCreateBy(String createBy) {
                this.createBy = createBy;
            }

            public Object getClassId() {
                return classId;
            }

            public void setClassId(Object classId) {
                this.classId = classId;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(String updateBy) {
                this.updateBy = updateBy;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public Object getClassId_dictText() {
                return classId_dictText;
            }

            public void setClassId_dictText(Object classId_dictText) {
                this.classId_dictText = classId_dictText;
            }

            public String getStartTime() {
                return startTime;
            }

            public void setStartTime(String startTime) {
                this.startTime = startTime;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getEndTime() {
                return endTime;
            }

            public void setEndTime(String endTime) {
                this.endTime = endTime;
            }

            public String getValidity() {
                return validity;
            }

            public void setValidity(String validity) {
                this.validity = validity;
            }

            public Object getRole_dictText() {
                return role_dictText;
            }

            public void setRole_dictText(Object role_dictText) {
                this.role_dictText = role_dictText;
            }

            public Object getUserId_dictText() {
                return userId_dictText;
            }

            public void setUserId_dictText(Object userId_dictText) {
                this.userId_dictText = userId_dictText;
            }
        }
    }
}
